/**
 * @(#)HotwordDAOImpl.java 2017年5月26日
 * Copyright(C) 2015 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.dao.impl;


import java.util.List;

import org.jsbd.boss.dao.IHotwordDAO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * TODO 请加入本类的说明
 * @author <a href="mailto:zhangbinghua@zhexinit.com" >zbh</a>
 * @version 1.0.0
 */
@Service("hotwordDAO")
public class HotwordDAOImpl extends CrackBaseDao implements  IHotwordDAO {
	public static final Logger LOGGER = LoggerFactory.getLogger(HotwordDAOImpl.class);

	@Override
	public List<String> selectHotwords(int length) {
		return super.queryForList("qy_hotword.SELECT_NAME", length);
	}

	@Override
	public void saveHotwords(String word) {
		  super.insert("qy_hotword.INSERT_HOTWORD", word);
	}
}
